package com.wgchao.mdmp.entity;

import javax.persistence.*;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @作者  wgchao
 * @时间 2019-11-04 
 * @用途  
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table ( name ="mdmp_ori_up" )
public class MdmpOriUp  implements Serializable {

	private static final long serialVersionUID =  7717080881161215414L;

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "id" )
	private Long id;

	/**
	 * 设备标示
	 */
   	@Column(name = "sbbs" )
	private String sbbs;

	/**
	 * 设备编号
	 */
   	@Column(name = "sbbh" )
	private String sbbh;

	/**
	 * 上传时间
	 */
   	@Column(name = "up_time" )
	private Date upTime;

	/**
	 * 检测时间
	 */
   	@Column(name = "measure_time" )
	private Date measureTime;

	/**
	 * 原始上传数据
	 */
   	@Column(name = "ori_data" )
	private String oriData;

	/**
	 * 患者身份证号
	 */
   	@Column(name = "idcard" )
	private String idcard;

}
